package com.alibaba.citrus.ots.sales.plan.repository;

import com.alibaba.citrus.ots.sales.plan.dto.api.request.PageQuerySalesPlanStrategyDetailRequest;
import com.alibaba.citrus.ots.sales.plan.dto.api.request.QuerySalesPlanStrategyDetailRequest;
import com.alibaba.citrus.ots.sales.plan.sdo.SalesPlanStrategyDetailSDO;
import com.alibaba.cz.base.tool.page.PageResult;

import java.util.List;

public interface SalesPlanStrategyDetailRepository {

    /**
     * 分页查询回复策略详情
     */
    PageResult<List<SalesPlanStrategyDetailSDO>> pageQuery(PageQuerySalesPlanStrategyDetailRequest pageQuerySalesPlanStrategyDetailRequest);

    /*
     * 添加计划回复策略详情
     */
    String createSalesPlanStrategyDetail(SalesPlanStrategyDetailSDO salesPlanStrategyDetailSDO);

    /**
     * 编辑计划回复策略详情
     */
    Boolean editSalesPlanDetailStrategy(SalesPlanStrategyDetailSDO salesPlanStrategyDetailSDO);

    /**
     * 删除部门回复策略
     */
    Boolean deleteSalesPlanDetailStrategyById(QuerySalesPlanStrategyDetailRequest querySalesPlanStrategyDetailRequest);

    /**
     * 根据id查询计划策略列表详情
     */
     SalesPlanStrategyDetailSDO querySalesPlanStrategyDetail(QuerySalesPlanStrategyDetailRequest querySalesPlanStrategyDetailRequest);
}





